package com.huang.consumer_mall.model;

import lombok.Data;

@Data
public class PageCondition<T> {
    private Integer pageNum;//当前页
    private Integer pageSize;//每页条目
    private  T  condition; //业务查询的字段

    public Integer getPageNum() {
        return pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public T getCondition() {
        return condition;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public void setCondition(T condition) {
        this.condition = condition;
    }
}
